package com.atguigu.springcloud.sercice;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService{
    @Override
    public String payment_ok(Integer id) {
        return "宕机了 ok";
    }

    @Override
    public String payment_false(Integer id) {
        return "宕机了 time_out";
    }
}
